<#include "pagination_user.ftl">
<#macro head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>MEIMEI</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta name="robots" content="all" />
	<meta name="author" content="" />
	<link rel="stylesheet" href="${base}/style/inner.css">
	<script language="JavaScript">
		var base = "${base}";
	</script>
</#macro>


<#--次级导航-->
<#macro tpnav>
	<#include "/WEB-INF/content/include/tpnav.ftl">
</#macro>
<#--应用导航和个人资料-->
<#macro applicationnav>
	<#include "/WEB-INF/content/include/applicationnav.ftl">
</#macro>
<#--站内信-->
<#macro message>
	<#include "/WEB-INF/content/include/message.ftl">
</#macro>
<#--纠结快速通道-->
<#macro mood>
	<#include "/WEB-INF/content/include/mood.ftl">
</#macro>
<#--应用服务详细导航-->
<#macro application>
	<#include "/WEB-INF/content/include/application.ftl">
</#macro>

<#--访客-->
<#macro vister>
	<#include "/WEB-INF/content/include/vister.ftl">
</#macro>
<#macro html loc="">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
		<head>
			<@head/>
			<link type="text/css" href="${statics}/scripts/jquery/ui/css/lightness-theme/jquery-ui-1.7.custom.css" rel="stylesheet" />	
			<script type="text/javascript" src="${statics}/scripts/jquery/ui/js/jquery-1.3.2.min.js"></script>
			<script type="text/javascript" src="${statics}/scripts/jquery/ui/js/jquery-ui-1.7.custom.min.js"></script>
			<script type="text/javascript" src="${statics}/scripts/jquery/ui/js/ui.datepicker.js"></script>
			<script type="text/javascript" src="${statics}/scripts/jquery/ui/i18n/ui.datepicker-zh-CN.js"></script>
			<link rel="stylesheet" href="${statics}/scripts/jquery/themes/flora/flora.all.css" type="text/css" media="screen" title="Flora (Default)" />
			<script type="text/javascript" src="${statics}/plugins/editor/fckeditor/fckeditor.js"></script> 
			<script type="text/javascript" src="${statics}/scripts/jquery/jquery.multiselects.packed.js" ></script>
			<script type="text/javascript" src="${statics}/scripts/dialog/dialog.js" language="javascript"></script>
			<link rel="stylesheet" type="text/css" media="screen" href="${statics}/scripts/dialog/dialog.css" />
			<script type="text/javascript" src="${base}/scripts/common/face.js" language="javascript"></script>
			<script type="text/javascript" src="${base}/scripts/common/common.js" language="javascript"></script>
			<script type="text/javascript" src="${base}/scripts/comment/comment.js" language="javascript"></script>
		</head>
		<body>
			<div style="text-align:center; background:#e0e0e0; margin:0px auto">
				<@header/>
				<@nav/>
				<@tpnav/>
					<div class="content">
						<@applicationnav/>
						<#if loc="index">
						<div class="co_m">
									<@message/>
									<@mood/>
									<div class="co_mm mt">
										<div class="co_mh">动态</div>
											<@application/>
											<#nested>	
										</div>									
									</div>
							<@vister/>
						</div>
						<#else>
							<#nested>
							<#if loc!="detail">
							<@vister/>
							</#if>
						</#if>
				<@footer/>
			</div>
			<#include "pop_face.ftl">
		</body>
		
	</html>
</#macro>